#ifndef ENGINELOGGER_H
#define ENGINELOGGER_H

#include <QString>
#include "earthdawn.h"

class EngineLogger
{
  QString _text;

public:
  static const QString endl;

  operator QString() const;
  EngineLogger& operator<<(const char* s);
  EngineLogger& operator<<(const QString& s);
  EngineLogger& operator<<(int i);
  EngineLogger& operator<<(ed::Attribute a);
  void clear();
};

#endif // ENGINELOGGER_H
